package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.UserSafeInfoMapper;
import com.university.trade.entity.UserSafeInfo;
import com.university.trade.service.UserSafeInfoService;

public class UserSafeInfoServiceImpl implements UserSafeInfoService {
	@Resource
	private UserSafeInfoMapper userSafeInfoMapper;
	@Override
	public int deleteByPrimaryKey(String questionId) {
		return this.userSafeInfoMapper.deleteByPrimaryKey(questionId);
	}

	@Override
	public int insert(UserSafeInfo record) {
		return this.userSafeInfoMapper.insert(record);
	}

	@Override
	public int insertSelective(UserSafeInfo record) {
		return this.userSafeInfoMapper.insertSelective(record);
	}

	@Override
	public UserSafeInfo selectByPrimaryKey(String questionId) {
		return this.userSafeInfoMapper.selectByPrimaryKey(questionId);
	}

	@Override
	public int updateByPrimaryKeySelective(UserSafeInfo record) {
		return this.userSafeInfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(UserSafeInfo record) {
		return this.userSafeInfoMapper.updateByPrimaryKey(record);
	}

}
